package com.imooc.bilibili.domain.page;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import lombok.Data;

import java.util.List;

/**
 * 分页结果
 *
 * @author gcq
 * @Create 2022-05-26
 */
@Data
public class PageResult<T> {

    private Integer total;
    private List<T> list;
    public PageResult(Integer total, List<T> list) {
        this.total = total;
        this.list = list;
    }
}